﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WCFMINERP.Contracts.DataContracts
{
   public class Lattice
    {
       /// <summary>
       /// 格子ID
       /// </summary>
       public int LatticeID { get; set; }

       /// <summary>
       /// 格子分区ID
       /// </summary>
       public int Pid { get; set; }

       /// <summary>
       /// 格子名称
       /// </summary>
       public string LatticeName { get; set; }

       /// <summary>
       /// 订单ID
       /// </summary>
       public int OrderID { get; set; }

       /// <summary>
       /// 时间
       /// </summary>
       public DateTime ScanningTime { get; set; }

       /// <summary>
       /// 状态。0格子没有产品，1格子已经存在产品，2格子已经装满
       /// </summary>
       public int State { get; set; }


       /// <summary>
       /// 格子记录明细
       /// </summary>
       public List<LatticeRecord> latticeRecordList { get; set; }


       /// <summary>
       /// 产品总数
       /// </summary>
       public int OrderInfoCount { get; set; }


       /// <summary>
       /// 订单名称
       /// </summary>
       public string OrderName { get; set; }

       /// <summary>
       /// 订单编号
       /// </summary>
       public string OrderCode { get; set; }

       /// <summary>
       /// 订单
       /// </summary>
       public OrderBagInfo OrderbagModel { get; set; }
    }
}
